package com.upcode.weighing.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.upcode.weighing.base.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 角色资源表
 * </p>
 *
 * @author alex
 * @since 2019-04-10
 */
@Data
@EqualsAndHashCode(callSuper=false)
public class SysRoleRes extends BaseEntity {

    private static final long serialVersionUID = 1L;
    @JsonFormat(shape =JsonFormat.Shape.STRING )
    private Long id;//id
    @JsonFormat(shape =JsonFormat.Shape.STRING )
    private Long resId;//资源ID
    @JsonFormat(shape =JsonFormat.Shape.STRING )
    private Long roleId;//角色ID
    private Integer sel;//选中状态(1:选中 2:未选中)

}
